import {createI18n} from "vue-i18n";
import en from "./lang/en";
import zhCn from "./lang/zh-cn";

const messages = {
    en: en,
    zhCn: zhCn
};


const locale = createI18n({
    legacy: false,
    locale: 'zhCn',
    fallbackLocale: 'zhCn',
    messages,
})

export default locale;
